﻿<UserControl x:Class="Indigo.Quibbler.Controls.SearchControl"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"             
             xmlns:controls="clr-namespace:Indigo.Quibbler.Controls"
    Height="300" Width="Auto">
    <UserControl.Resources>
        <LinearGradientBrush x:Key="BorderBrush" EndPoint="0.5,1" StartPoint="0.5,0">
            <GradientStop Color="#FF474747" Offset="0"/>
            <GradientStop Color="#FF000000" Offset="1"/>
            <GradientStop Color="#FF2A2A2A" Offset="0.593"/>
        </LinearGradientBrush>
    </UserControl.Resources>
    <Grid>
        <Border>
            <Border.Background>
                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                    <GradientStop Color="White"/>
                    <GradientStop Color="#FFBDBEC0" Offset="1"/>
                    <GradientStop Color="White" Offset="0.678"/>
                </LinearGradientBrush>
            </Border.Background>
            <Border Background="{DynamicResource BorderBrush}" Margin="10,10,10,10">
                <Grid>
                    <controls:SearchResultsControl x:Name="searchResults" HorizontalAlignment="Stretch" VerticalAlignment="Stretch"/>
                    <TextBlock x:Name="textNoResult" Text="No Results Found." TextAlignment="Center" VerticalAlignment="Center" HorizontalAlignment="Center" FontSize="34" Foreground="White" Visibility="Collapsed"/>
                </Grid>
            </Border>
        </Border>
    </Grid>
</UserControl>
